package com.tensquare.entity;

/**
 * 自定义返回给前端的状态码
 */
public class StatusCode {

  /**
   * 成功
   */
  public static final int OK = 20000;
  /**
   * 失败
   */
  public static final int ERROR = 20001;
  /**
   * 用户名或密码错误
   */
  public static final int LOGINERROR = 20002;
  /**
   * 权限不足
   */
  public static final int ACCESSERROR = 20003;
  /**
   * 远程调用失败
   */
  public static final int REMOTEERROR = 20004;
  /**
   * 远程调用失败
   */
  public static final int REPERROR = 20005;
}
